
import 'dart:typed_data';

import 'pos_link_print_platform_interface.dart';

class PosLinkPrint {
  Future<String?> getPlatformVersion() {
    return PosLinkPrintPlatform.instance.getPlatformVersion();
  }

  Future<void> clear() async {
    await PosLinkPrintPlatform.instance.clear();
  }

  Future<void> leftAlign() async {
    await PosLinkPrintPlatform.instance.leftAlign();
  }

  Future<void> rightAlign() async {
    await PosLinkPrintPlatform.instance.rightAlign();
  }

  Future<void> centerAlign() async {
    await PosLinkPrintPlatform.instance.centerAlign();
  }

  Future<void> content(String content) async {
    await PosLinkPrintPlatform.instance.content(content);
  }
  Future<void> barcode(int type,int blockSize,String content) async {
    await PosLinkPrintPlatform.instance.barcode(type,blockSize,content);
  }

  Future<void> smallFont() async {
    await PosLinkPrintPlatform.instance.smallFont();
  }

  Future<void> normalFont() async {
    await PosLinkPrintPlatform.instance.normalFont();
  }

  Future<void> bigFont() async {
    await PosLinkPrintPlatform.instance.bigFont();
  }

  Future<void> header() async {
    await PosLinkPrintPlatform.instance.header();
  }

  Future<void> trailer() async {
    await PosLinkPrintPlatform.instance.trailer();
  }

  Future<void> disclaimer() async {
    await PosLinkPrintPlatform.instance.disclaimer();
  }

  Future<void> date() async {
    await PosLinkPrintPlatform.instance.date();
  }

  Future<void> time() async {
    await PosLinkPrintPlatform.instance.time();
  }

  Future<void> sn() async {
    await PosLinkPrintPlatform.instance.sn();
  }

  Future<void> invert() async {
    await PosLinkPrintPlatform.instance.invert();
  }
  Future<void> lineSeparator() async {
    await PosLinkPrintPlatform.instance.lineSeparator();
  }

  Future<void> print() async {
    await PosLinkPrintPlatform.instance.print();
  }
  Future<void> printImg(Uint8List bytes,int location) async {
    await PosLinkPrintPlatform.instance.printImg(bytes,location);
  }



}
